package com.hkf.shop.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @author huangkf
 * @version 1.0
 * @date 2022/12/16:11:37
 * @description restTempalte配置类
 */


@Configuration
public class RestBean {


    @Bean
    public RestTemplate restTemplate() {

        return new RestTemplate();
    }
}
